package com.nanjia.boot.batch_stock.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.nanjia.boot.common.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;

/**
 * 库存记录实体对象
 *
 * @author 周洋
 * @since 2025-08-22 11:27
 */
@Getter
@Setter
@TableName("warehouse_batch_stock")
public class WarehouseBatchStock extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 仓库ID
     */
    private Long warehouseId;
    /**
     * 批次ID
     */
    private Long batchId;
    /**
     * 库存数量
     */
    private Integer quantity;
    /**
     * 库存状态
     */
    private String stockStatus;
    /**
     * 库位号
     */
    private Long storageLocationId;
    /**
     * 温度监控日志
     */
    private String temperatureLog;
    /**
     * 最近盘点日期
     */
    private LocalDate lastInventory;

}
